.ant-table-wrapper {
  .ant-table {
    // background: transparent;
    background: #003152;
    .ant-table-thead {
      & > tr {
        & > th {
          background: transparent;
          color: #ffb317;
          padding: 0;
          height: 50px;
          border: none;
          font-weight: normal;
          &.ant-table-cell:not(.ant-table-selection-column):first-child {
            padding-left: 20px;
          }
          &::before {
            display: none;
          }
          &:last-child {
            box-shadow: none;
          }
        }
      }
    }

    // class="ant-table-cell ant-table-selection-column"
    .ant-table-tbody {
      & > tr {
        & > td {
          color: #fff;
          &:first-child {
            padding-left: 20px;
          }
          padding: 0;
          &:hover {
            background: transparent; //鼠标悬停行背景
          }
        }
      }
      .ant-table-row {
        margin-bottom: 10px;
        // background-color: rgba(18, 146, 236, 0.1);
        &:nth-child(even) {
          background: rgba(204, 204, 204, 0.2);
          // background: pink;
        }
        &:hover {
          cursor: pointer;
          background: rgba(255, 170, 0, 0.3);
          box-shadow: 0 0 20px 2px rgba(255, 203, 100, 0.51) inset;
        }
        .ant-table-cell {
          // border-bottom: 10px solid transparent;
          &.ant-table-cell:not(.ant-table-selection-column):first-child {
            padding-left: 20px;
          }
          border-bottom: 10px solid;
          padding: 20px 0;

          line-height: 1.1rem;
          border: none;
        }
        .ant-table-cell-row-hover {
          background: none;
          // .ant-checkbox {
          //   .ant-checkbox-inner:hover {
          //     background-color: transparent;
          //     transform: none;
          //     background-image: url('@/assets/images/check-y-h.png');
          //   }
          // }
        }
      }
      .ant-table-row-selected {
        & > td {
          background: transparent;
        }
      }
    }
    .ant-table-tbody > tr.ant-table-row:hover > td,
    .ant-table-tbody > tr > td.ant-table-cell-row-hover {
      background: transparent;
    }
  }
  .ant-table:not(.ant-table-bordered) {
    .ant-table-tbody {
      & > tr:last-child > td {
        border-bottom: none;
      }
    }
  }
}

.ant-checkbox-wrapper {
  .ant-checkbox {
    .ant-checkbox-inner {
      width: 22px;
      height: 22px;
      cursor: pointer;
      background-size: 100% 100%;
      background-image: url('@/assets/images/check-n.png');
      background-color: transparent;
      border: none;
      &::after {
        display: none;
      }
    }
    &.ant-checkbox-checked {
      .ant-checkbox-inner {
        background-image: url('@/assets/images/check-y.png');
        // &:hover {
        //   background-image: url('@/assets/images/check-y-h.png');
        // }
      }
    }
  }
  &:not(.ant-checkbox-wrapper-disabled):hover {
    .ant-checkbox-checked:not(.ant-checkbox-disabled) {
      .ant-checkbox-inner {
        background-color: transparent;
        border: none;
        background-image: url('@/assets/images/check-y-h.png');
      }
      &:after {
        border: none;
      }
    }
  }
  &.ant-checkbox-wrapper-checked:not(.ant-checkbox-wrapper-disabled):hover {
    .ant-checkbox-inner {
      background-color: transparent;
      border: none;
      box-shadow: none;
    }
  }
  .ant-checkbox-checked:not(.ant-checkbox-disabled):hover {
    .ant-checkbox-inner {
      background-color: transparent;
      border: none;
      box-shadow: none;
    }
  }
}
